package com.gooboot.kadmin.admin.restapi;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/admin/")
@Api(value = "管理员相关接口",tags = "管理员相关接口")
@Slf4j
public class AdminRestApi {

    @PostMapping("hello")
    @ApiOperation("测试方法")
    public String hello(){
        log.debug("测试日志....");
        return "hello admin";
    }
}
